import TypeNav from './TypeNav'
import VPagination from './Pagination'
// 利用插件优化、组织公共组件
const components = [TypeNav, VPagination]
const componentPlugins = {
  install(Vue) {
    components.forEach(component => {
      Vue.component(component.name, component)
    })
  }
}
export default componentPlugins
